﻿using Autofac;
using CourseTeaching.WebApi.iService;
using CourseTeaching.WebApi.Service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Module = Autofac.Module;

namespace CourseTeaching.WebApi.Common.Autofac
{
    public class AutofacModuleRegister : Module
    {
        protected override void Load(ContainerBuilder builder)
        {
            builder.RegisterType<UserService>().As<iUserService>();
        }
    }
}
